home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19980424-19980901
/
000245_news@newsmaster….columbia.edu _Sat Jul 4 01:45:10 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1998-08-31
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA03356
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 4 Jul 1998 01:45:10 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id BAA02150
for kermit.misc@watsun; Sat, 4 Jul 1998 01:45:08 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: K95 - confirm closing of terminal window?
Date: 4 Jul 1998 05:45:02 GMT
Organization: Columbia University
Lines: 33
Message-ID: <6nkfgu$sfc$1@apakabar.cc.columbia.edu>
References: <359c290f.0@kastagir.senet.com.au> <359D29B2.700C@value.net>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8942
In article <359D29B2.700C@value.net>, Mark Sapiro <msapiro@value.net> wrote:
: arthur.marsh@ties.itu.int wrote:
: >
: > Hi, I was typing away writing a letter across a telnet connection
: > made with K95's dialer and close on disconnect set, when the connection
: > and my letter disappeared.
: >
: > I'd like to be able to have K95 confirm a session close (even "press any
: > key") so that in the case of unwanted disconnection, the scrollback buffer
: > could be dumped to a file.
:
: Pardon me if I don't understand, but it seems to me you already have
: what you want. Just don't select "exit on disconnect" in the dialer.
: Then when disconnect occurs, if you want to exit, type 'q' at the
: prompt, and if not, type 'view' to return to the terminal screen and
: capture text or whatever.
Another approach is the one I use, the "on_exit" macro. Here is my
"on_exit" definition.
define on_exit {
save terminal scrollback d:/kermit/save/terminal-\v(date)-\v(pid).txt
save command scrollback d:/kermit/save/command-\v(date)-\v(pid).txt
}
This saves the command and terminal scrollback buffers whenever the
K95 process terminates.
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025
http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org